-
Notifications
You must be signed in to change notification settings - Fork 3
FEATURE: Can edit category/host relationships for embedding #8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: rest-serializer-enhancement-pre
Are you sure you want to change the base?
FEATURE: Can edit category/host relationships for embedding #8
Conversation
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
|||||||||||||||||||||||||
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||||||||
User description
PR #10
PR Type
Enhancement
Description
Migrate embeddable hosts from site settings to database model
Add admin UI for managing embeddable hosts and categories
Replace string-based host validation with database queries
Update embed controller to use new EmbeddableHost model
Diagram Walkthrough
File Walkthrough
20 files
New model for managing embeddable hostsAdmin controller for CRUD operationsAdmin controller for embedding settingsSerializer for embeddable host API responsesSerializer for embedding configurationUpdate host validation to use modelRemove embeddable host validation methodSimplify expandable_first_post checkUse EmbeddableHost for category lookupUpdate to use EmbeddableHost validationEmber controller for embedding admin UIEmber route for embedding admin pageEmber component for host row editingREST adapter for embedding resourceTemplate for embedding admin interfaceTemplate for embeddable host row componentAdd embedding nav item to customize menuAdd embedding route to admin route mapAdd embeddable-host to admin models listSupport hydrating embedded arrays with IDs3 files
Migration to create embeddable_hosts tableAdd routes for embedding admin pagesRemove embeddable_hosts and embed_category settings2 files
Add i18n strings for embedding UIRemove deprecated site settings descriptions11 files
Tests for EmbeddableHost modelTests for embeddable hosts controllerTests for embedding controllerUpdate tests to use EmbeddableHost modelRemove embeddable host validation testsUpdate tests for category lookupUpdate expandable_first_post testsMove category fabricator to separate fileAdd embeddable host fabricatorAdd test data for embedded arraysAdd tests for embedded array hydration